package org.demo;

import java.util.Collections;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.Ordered;
import org.springframework.web.servlet.config.annotation.ViewControllerRegistry;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;

@SpringBootApplication
public class App {
	/**
	 * m
	 * @param args
	 */
	public static void main(String[] args) {
		SpringApplication app=new SpringApplication(App.class);
		//默认读取application.properties,config/application.properties
		//没有则读取application.yml
		app.setSources(Collections.singleton("classpath:/context.xml"));
		app.run( args);
	}
	



}
